<?php
class UserModel extends Model{
  protected $id;
  protected $name;
  protected $password;

  public function set_name($name){
    $this->name=$name;
    return $this;
  }
  public function get_name(){
    return $this->name;
  }
  public function set_id($id){
    $this->id=$id;
    return $this;
  }
  public function get_id(){
    return $this->id;
  }
  public function set_password($password){
    // TODO: Add secure features (salt, hash, etc)
    $this->password=$password;
    return $this;
  }
  public function get_password(){
    return $this->password;
  }
}
?>